import yaml



def read_file(yaml_path):
    with open(yaml_path,'r',encoding='utf-8') as f:
        parameters = yaml.load(f.read(),Loader=yaml.FullLoader)
    
    return parameters